@charset "utf-8";

* {
    margin: auto;
    padding: 0;
    -webkit-box-sizing: border-box;
        box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;

}
/*
body {
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
}
*/
#header{
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align:center;
        -ms-flex-align: center;
            align-items: center;
    overflow: scroll;
}
#header nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 100;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
#header nav .logo {
    position: relative;
    color: #fff;
    margin-left: 0;
    padding-left: 0;
    z-index: 15;
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
#header nav .menu{
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    overflow-y: auto;
    background: #000000;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: hidden;
    -webkit-transition: height .8s cubic-bezier(0.3, 1, 0.3, 1)  .1s;
    -o-transition: height .8s cubic-bezier(0.3, 1, 0.3, 1) .1s;
    transition: height .8s cubic-bezier(0.3, 1, 0.3, 1)  .1s;
}

#header.active nav .menu {
    height: 100vh;
    -webkit-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
}
#header nav .menu li {
    list-style: none;
    text-align: center;
    margin: 15px 0;
    width: 240px;
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

#header.active nav .menu li {
    opacity: 1;
    -webkit-transition: opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) .3s;
    -o-transition: opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) .3s;
    transition: opacity 2s cubic-bezier(0.16, 1.08, 0.38, 0.98) .3s;
}

#header nav .menu li a {
    display: inline-block;
    text-decoration: none;
}

#header nav .menu li a .label {
    display: inline-block;
    position: relative;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#header nav .menu li:hover a .label {
    opacity: 1;
    padding-left: 50px;
    color: #df1f29;
}

#header nav .menu li a .label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 0;
    background: #df1f29;
    -webkit-transition: width .3s ease;
    -o-transition: width .3s ease;
    transition: width .3s ease;
}

#header nav .menu li:hover a .label::before {
    width: 40px;
}
#header nav .toggle {
    position: relative;
    width: 10px;
    height: 40px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#header nav .toggle span {
    height: 3px;
    margin: 3px 5px;
    width: 45px;
    display: block;
    background: #fff;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#header nav .toggle span:nth-child(2) {
    width: 25px;
    margin-left: -10px;
}
#header nav .toggle.active span:nth-child(1) {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
    -ms-transform: rotate(-45deg) translate(-5px, 6px);
    transform: rotate(-45deg) translate(-5px, 6px);
}
#header nav .toggle.active span:nth-child(2) {
    opacity: 0;
}
#header nav .toggle.active span:nth-child(3) {
    -webkit-transform: rotate(45deg) translate(-6px, -7px);
    -ms-transform: rotate(45deg) translate(-6px, -7px);
    transform: rotate(45deg) translate(-6px, -7px);
}

#header nav .toggle::before {
    content: '菜单';
    position: absolute;
    right: 20px;
    font-weight: 50;
    color: #fff;
    font-size: 30px;
    width: 80px;
}

#header .content {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 200px;
    padding-bottom: 500px;
    z-index: 10;
    text-align: center;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -webkit-transition-delay: 1s;
        -o-transition-delay: 1s;
            transition-delay: 1s;
}

#header .content h2 {
    position: relative;
    text-align: center;
    padding-top: 200px;
    padding-bottom: 200px;
    margin: 0;
    color: #fff;
    text-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
#header .content h2 span {
    font-size: 0.2em;
    font-weight: 300;
    letter-spacing: 5px;
    padding: 0 10px;
    background: #fff;
    color: #111;
    text-shadow: 0 5px 5px rgba(0,0,0,0);
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

#header .content .ghosts li {
    position: relative;
    list-style: none;
    padding: 0 0 50px 400px;
}
#header .content .ghosts {
    position: center;
    display: table;
    width: 1100px;
    overflow-y: scroll;
    text-align: left;
}
#header .content .ghosts h3{
    color: aliceblue;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
#header .content .ghosts p{
    position: relative;
    text-align: left;
    display: inline-block;
    margin: 20px;
    font-size: 30px;
    color: aqua;
    border: 2px double darkolivegreen;
}

#header .content .tools {
    position: center;
    display: table;
    width: 1100px;
    overflow-y: scroll;
    text-align: left;
}
#header .content .tools li {
    position: relative;
    list-style: none;
    padding: 0 0 50px 200px;
}
#header .content .tools h3{
    color: aliceblue;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
#header .content .tools p{
    position: relative;
    text-align: left;
    display: inline-block;
    margin: 20px 0;
    font-size: 30px;
    color: aqua;
    border: 2px double darkolivegreen;
}

#header .content .links{
    position: fixed;
    left: 50px;
    top: 300px;
    background-color: #cccccc;
    color: darkolivegreen;
}
#header .content .links a:hover{
    color: lightcoral;
}

#header .content .img{
    position: fixed;
    width: 264px;
    height: 264px;
    right: 50px;
    top: 300px;
    background-color: #cccccc;
    color: darkolivegreen;
}

#header .content footer{
    position: fixed;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
    font-size: 30px;
    clear: both;
    color: white;
    background-color: #cccccc;
}
#header.active .content {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    transform: translateX(-200px);
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}
#header .sci {
    position: absolute;
    bottom: 40px;
    right: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 100;
}
#header .sci li {
    list-style: none;
    margin: 5px;
    padding: 0 6px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
#header.active .sci li {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
}
#header .sci li a {
    color: #111;
    background: #fff;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 12px;
    padding: 2px 5px;
}
#header .sci li a:hover {
    background: #111;
    color: #fff;
}
#header .sci li:nth-child(1) {
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
#header .sci li:nth-child(2) {
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
#header .sci li:nth-child(3) {
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

@media (max-width: 991px) {
    #header nav {
        padding: 20px;
    }
    #header .sci {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 450px) {
    #header .content h2 {
        font-size: 3rem;
    }
}
